/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package beans;

/**
 *
 * @author Fam. Tapia
 */
public class ProductBean {
int productId;

    public void setProductId(int productId) {
        this.productId = productId;
    }

    public int getProductId() {
        return productId;
    }

    String productName;

     public void setProductName(String productName) {
        this.productName = productName;
    }

     public String getProductName() {
        return productName;
    }


    String productDescription;

    public void setProductDescription(String productDescription) {
        this.productDescription = productDescription;
    }

    public String getProductDescription() {
        return productDescription;
    }

    private String productBarCode;


    



    @Override
    public String toString(){
        String space="  ";
        String id=this.getProductId()+space;
        String name= this.getProductName()+space;
        String description= this.getProductDescription();
        String productBarCode = this.getProductBarCode();
        String product=id+name+description + productBarCode;
        return product;
    }

    /**
     * @return the productBarCode
     */
    public String getProductBarCode() {
        return productBarCode;
    }

    /**
     * @param productBarCode the productBarCode to set
     */
    public void setProductBarCode(String productBarCode) {
        this.productBarCode = productBarCode;
    }



}
